import request from '@/utils/request'

//查询投诉
export function selectComplaintInfo(data) {
    return request({
        url: '/api/complaint/selectComplaintInfo',
        method: 'post',
        data: data
    })
}

//编辑处理投诉内容
export function updateComplaintById(data) {
    return request({
        url: '/api/complaint/updateComplaintById',
        method: 'post',
        data: data
    })
}

//根据id查询单个投诉 
export function selectComplaintById(data) {
    return request({
        url: '/api/complaint/selectComplaintById',
        method: 'post',
        data: data
    })
}